package day1212zy.day1209;

public class Person {
    private String name;
    private int age;
    private double score;
    private boolean married;

    public Person() {
    }

    public Person(String name, int age, double score, boolean married) {
        this.name = name;
        this.age = age;
        this.score = score;
        this.married = married;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public boolean isMarried() {
        return married;
    }

    public void setMarried(boolean married) {
        this.married = married;
    }
}
